<?php
namespace app\admin\services;
use app\common\services\BaseService;
class DictOptionsService extends BaseService
{
    public function __construct()
    {
        $modelName = '';
        $viewName = '(select do.*,di.title item_title from dict_options do inner join dict_items di on di.id=do.item_id) t';
        parent::__construct($modelName, $viewName);
    }
}